package cn.hd01.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.hd01.common.IntegrationRuleCode;
import cn.hd01.repository.entity.IntegrationRuleBook;

public interface IntegrationRuleBookService extends BaseService<IntegrationRuleBook, Integer> {
	
	public Page<IntegrationRuleBook> findAll(IntegrationRuleBook integrationRuleBook, Pageable pageable);
	
	IntegrationRuleBook save(IntegrationRuleBook integrationRuleBook, IntegrationRuleCode code);
	
	int countTodayRule(Integer id, String ruleCode);
}
